import request from "@/utils/request";

// 获取违规投诉列表
export function getComplaintList(params){
    return request({
        url:"/procurement/getComplaintList",
        method:'get',
        params:params
    })
}

// 新增违规投诉
export function setComplaint(data){
    return request({
        url:"/procurement/setComplaint",
        method:'post',
        params:params
    })
}

// 违规投诉详情
export function getComplaintListItem(params){
    return request({
        url:"/procurement/getComplaintListItem",
        method:'get',
        params:params
    })
}